﻿CREATE PROCEDURE [maint].[DeleteDeviceHeader]
@DeviceName [sysname]
AS
BEGIN
	DECLARE @RC int;
	SET @RC = 0;
	
	DELETE [maint].[DeviceHeaders]
	WHERE([DeviceName] = @DeviceName);
	
	SET @RC = @@ERROR;

	RETURN(@RC);
END